//熊猫优选首页
$color:#fee44e;

// 顶部欢迎栏
#header {
    height: 100px;
    padding: 20px 0px;
    text-align: center;
    border-bottom: 3px solid rgba($color: #c0b4b4, $alpha: .5);

    .container {
        padding: 10px 0px;

        img,
        span {
            float: left;
        }

        // logo
        .panda {
            float: left;

            margin-left: 20px;
            margin-top: 10px;

            h2 {
                font-size: 30px;
                font-weight: 700;
            }

            p {
                font-size: 12px;
            }
        }

        // 搜索框
        .search {
            float: left;
            width: 500px;
            height: 50px;
            position: relative;
            border: 1px solid rgb(181, 180, 180);
            margin: 14px auto;
            border-radius: 25px;
            margin-left: 145px;

            input {
                width: 88%;
                height: 96%;
                border: none;
                outline: none;
                padding-left: 10%;
                border-radius: 25px;
            }

            span {
                position: absolute;
                top: 7px;
                left: 6px;
                color: rgb(0, 0, 0);
                font-size: 34px;
            }

            div {
                background-color: $color;
                width: 120px;
                height: 50px;
                line-height: 48px;
                border-radius: 24px;
                position: absolute;
                top: 0px;
                right: 0px;
            }

        }

        //右边品质

        .shopRelevent {
            width: 280px;
            justify-content: space-between;
            align-items: center;
            // padding-left: 70px;


            .shop {
                display: flex;

                li {
                    width: 25%;
                    font-size: 12px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    color: #999;
                }

                span {
                    color: #ff8383;
                    font-size: 12px;
                }

                .text {
                    margin: 0;
                    font-size: 34px;

                }
            }




        }

        //登录提示
        .login {
            margin-top: 25px;

            span,a{
                font-size: 14px;
                margin-left: 12px;
                color: #999;
            }

            span:first-child {
                color: rgb(195, 10, 10);
            }
        }


    }

    .container>img {
        width: 80px;
        height: 80px;
    }
}




//主体

//左边详细分类
#main {
    position: relative;
   
    // 商品列表
    #list {
        background: rgb(228, 227, 227);
        width: 99.5%;
        border-radius: 10px;
        padding-bottom: 10px;

        ul {
            width: 100%;
            padding-top: 10px;

            li {
                float: left;
                width: 24%;
                height: 350px;
                background: #fff;
                margin-right: 5px;
                margin-bottom: 5px;
                margin-left: 6px;
                border-radius: 5px;
                text-align: center;
                padding-top: 5px;

                &:hover {
                    background: rgb(245, 245, 245);
                }

                img {
                    width: 95%;
                    height: 230px;
                }

                p {
                    padding: 2px 5px;
                    margin-top: 5px;

                }

                p:nth-child(2) {

                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

                p:nth-child(3) {
                    span:first-child {
                        background: #ff0000;
                        color: #fff;
                        padding: 2px 8px;
                    }

                    span:last-child {
                        margin-right: 5px;
                    }
                }

                p:nth-child(4) {
                    text-align: center;
                    margin-top: 5px;

                    span:nth-child(1) {
                        margin-right: 30px;
                        color: #ff0000;
                    }

                    span:nth-child(2) {
                        margin-right: 30px;
                    }
                }
                p:nth-child(5) {
                    text-align: center;
                    margin: 0px;
                    margin-top: -15px;
                    margin-right: 5px;
                    float: right;
                    background: $color;
                    color: #fff;
                }
            }
        }

        .loadMore {
            width: 150px;
            height: 55px;
            line-height: 55px;
            text-align: center;
            background: $color;
            border-radius: 28px;
            margin: 10px auto 0px;
        }
    }
}

